package com.hua.struct;

public class ForDemo01 {

    public static void main(String[] args) {
        int a = 1;//初始化条件

        while (a<=100){//条件判断
            System.out.println(a);//循环体
            a++;//迭代
        }


        for (int i =1;i<=100;i++){
            System.out.println(i);
        }
        /*




         */


    }



}
